#ifndef QADDFORMDIALOG_H
#define QADDFORMDIALOG_H

#include <QDialog>

namespace Ui {
    class QAddFormDialog;
}

class QNameEdit;

class QAddFormDialog : public QDialog
{
    Q_OBJECT

public:
    explicit QAddFormDialog(QWidget *parent = 0);
    ~QAddFormDialog();

    void    setPageNames(QStringList names);

    int exec();
    QString     getFormName();
    QString     getFormType();
private slots:
    void on_okBtn_clicked();

    void on_cancleBtn_clicked();

private:
    Ui::QAddFormDialog *ui;

protected:
    int m_ret;
    QNameEdit * m_nameEdit;
};

#endif // QADDFORMDIALOG_H
